﻿Jxstar.currentPage = function() {
	var config = {param:{},initpage:function(page, define){},eventcfg:{}};

	var cols = [
	{col:{header:'风险类型', width:100, sortable:true, editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.TextField({
			maxLength:10
		})}, field:{name:'project_warn__warn_type',type:'string'}},
	{col:{header:'风险描述', width:100, sortable:true, editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.TextField({
			maxLength:200
		})}, field:{name:'project_warn__warn_desc',type:'string'}},
	{col:{header:'风险产生的影响', width:100, sortable:true, editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.TextField({
			maxLength:50
		})}, field:{name:'project_warn__warn_result',type:'string'}},
	{col:{header:'风险等级', width:100, sortable:true, editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.TextField({
			maxLength:10
		})}, field:{name:'project_warn__warn_level',type:'string'}},
	{col:{header:'责任人', width:100, sortable:true, editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.TextField({
			maxLength:20
		})}, field:{name:'project_warn__project_user',type:'string'}},
	{col:{header:'应对的措施', width:378, sortable:true, editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.TextField({
			maxLength:50
		})}, field:{name:'project_warn__reply_steps',type:'string'}},
	{col:{header:'责任人ID', width:100, sortable:true, hidden:true}, field:{name:'project_warn__project_userid',type:'string'}},
	{col:{header:'项目ID', width:100, sortable:true, hidden:true}, field:{name:'project_warn__porject_id',type:'string'}},
	{col:{header:'主键', width:100, sortable:true, hidden:true}, field:{name:'project_warn__warn_id',type:'string'}}
	];
	
	config.param = {
		cols: cols,
		sorts: null,
		hasQuery: '1',
		isedit: '1',
		isshow: '1',
		funid: 'project_warn'
	};
	
	
		
	return new Jxstar.GridNode(config);
}